<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/jsp/common/head.jsp"%>
<div class="right">
    <div class="location">
        <strong>你现在所在的位置是:</strong>
        <span>领养登记页面 >> 领养申请</span>
    </div>
    <div class="supplierAdd">
        <form id="roleForm" name="roleForm" enctype="multipart/form-data"  method="post" action="${pageContext.request.contextPath }/sys/pet/addPet">

            <div>
                <label for="petName">宠物名称：</label>
                <input type="text" name="petName" id="petName" >
                <font color="red"></font>
            </div>
            <div>
                <label for="petType">宠物类型：</label>
                <select name="petType" id="petType">
                        <option value="">--全部--</option>
                        <c:forEach var="item" items="${types}">
                            <option value="${item.id}">${item.typeName}</option>
                        </c:forEach>
                </select>
                <font color="red"></font>
            </div>
            <div>
                <label >宠物性别：</label>
                <input type="radio" name="sex" value="1" >雌
                <input type="radio" name="sex" value="2" checked>雄
            </div>
            <div>
                <label for="birthday">救助日期：</label>
                <input type="date" name="birthday" id="birthday" >
                <font color="red"></font>
            </div>
            <div>
                <label for="remark">备注：</label>
                <input type="text" name="remark" id="remark" >
                <font color="red"></font>
            </div>

            <div>
                <label >状态：</label>

                    <input type="radio" name="state" value="1" >领养
                    <input type="radio" name="state" value="2" checked>未领养


            </div>
            <div>
                <label for="idPic">图片：</label>
                <input type="file" name="idPic" id="idPic" >
                <font color="red"></font>
            </div>
            <div class="supplierAddBtn">
                <input type="submit" name="save" id="save" value="保存" />
                <input type="button" id="back" name="back" value="返回"/>
            </div>
        </form>
    </div>
</div>
</section>
<%@include file="/WEB-INF/jsp/common/foot.jsp" %>
<script type="text/javascript" src="${pageContext.request.contextPath }/statics/js/sysRole/update.js"></script>
